package com.boge.ai.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Choice {
    private int index;
    private Message message;
    private String finish_reason;

    // Getters and Setters
    public int getIndex() { return index; }
    public void setIndex(int index) { this.index = index; }

    public Message getMessage() { return message; }
    public void setMessage(Message message) { this.message = message; }

    public String getFinishReason() { return finish_reason; }
    public void setFinishReason(String finish_reason) { this.finish_reason = finish_reason; }

    @Override
    public String toString() {
        return "Choice{" +
                "index=" + index +
                ", message=" + message +
                ", finish_reason='" + finish_reason + '\'' +
                '}';
    }
}
